TEC\Tickets\Commerce\Order B

Total Complexity 81
Dependencies 18
Dependents 31
Total lines 1,368
Lines of code 528
Logical lines of code 229
Comment lines 480
Methods 33
Properties 19

Methods 33

Method Rating Maintainability Complexity Lines of code
get_value()
A
47 10 32
modify_status()
A
44 9 47
create_from_cart()
A
40 6 66
upsert()
S
47 6 37
register_post_type()
S
41 1 58
get_gateway_label()
S
61 4 13
can_transition_to()
S
55 3 20
get_events()
S
59 3 16
set_on_checkout_screen_hold()
S
53 2 25
remove_on_checkout_screen_hold()
S
54 2 24
is_checkout_completed()
S
58 2 18
lock_order()
S
57 2 17
is_order_locked()
S
58 2 17
checkout_completed()
S
58 2 16
unlock_order()
S
58 2 16
prepare_cart_items_for_order()
S
60 2 14
get_attendees()
S
62 2 11
get_item_value()
S
71 2 5
is_valid()
S
69 2 7
redirect_after_error()
S
68 2 7
generate_order_title()
S
63 2 10
generate_order_key()
S
69 2 6
get_from_gateway_order_id()
S
65 1 10
get_ticket_id()
S
79 1 3
get_status_log_meta_key()
S
79 1 3
get_lock_id()
S
81 1 3
reset_lock_id()
S
80 1 3
generate_lock_id()
S
75 1 4
create()
S
69 1 6
has_on_checkout_screen_hold()
S
73 1 4
get_default_on_checkout_screen_hold_timeout()
S
78 1 3
get_flag_action_marker_meta_key()
S
75 1 4
get_gateway_payload_meta_key()
S
79 1 3